home-code

示例❤源码



body{ padding:0 1rem; margin:0; }
body, td, input, textarea, select, button{ color:#333; line-height:150%; font-size:16px; }
ul, li, dl, dd, p, h1, h2, h3, h4, h5, h6, hr, form, fieldset { line-height:150%; }

a img{ border:none; }
table{ border-collapse:collapse;}
i, b { font-weight:normal; font-style:normal; }

a{ color:#134D9D; text-decoration:none; cursor:pointer; }
a:hover { text-decoration:underline; cursor:pointer; }
a.cur { color:#C00; }

.LowIE { width:80%; text-align:center; color:#F00; background:#FCC padding:10px; margin:10px auto; }

.hide{ display:none; }
.center, .tc{ text-align:center; }
.fr{ float:right; }
.block{ display:block; }
.inline{ display:inline-block; }
.r{ display:inline; float:right; }

.cred{ color:#F00; }
.cmsg{ color:#F00; background:#FFC; }
.main .cmbg{ background:#FFC; padding: 10px; }
.pa5 { padding:5px; }
.ma5 { margin:5px; }
.pa10 { padding:10px; }
.ma10 { margin:10px; }


.cCCC,a.cCCC:link,a.cCCC:visited{color:#CCC}

.out { max-width:750px; padding:0; margin:auto; }
hr{ margin:20px auto; clear:both; }
h1{ font-size:14px; padding:0; margin:0; }
header{ background:#EEE; padding:5px; margin:1rem 0; border-radius:4px; }

nav{ line-height:200%; background:#EEE; display:block; width:100%; padding:0.5rem 0; }
nav>span{display:inline-block; text-align:center; width:30%; }
nav a{ background:#FFF; padding:2px 5px; display:inline-block; margin:0; border-radius:4px; }
nav a.act{ color:#F00; }

footer{ font-size:smaller; background:#DDD; padding:5px; margin:0 0 20px 0; }
footer p{ text-align:center; padding:1px; margin:0px; }

h3{ font-size:18px; text-align:center; margin:0.5rem auto; }
h4{ margin:0.5rem auto; }
.detail{ word-wrap:break-word; word-break:break-all; }
.detail p{ padding:0.5rem 0; margin:0; }
.detail li>ul{ margin-bottom:0.8rem; }
/*h4{ font-size:16px; text-align:left; margin:10px auto; }*/
/*
.detail{ padding:0px 10px; }
.detail p, .detail li{ line-height:200%; }
.detail p, .detail ul{ padding:10px 0px; }
.detail a.r{ font-size:small; }
*/

/* 关掉畅言广告 */
#feedAv div{ display:none; width:0px; height:0px; padding:0; margin:0; }
#cy-cmt-list div:last-of-type{ padding:0 !important; border-bottom:0 !important; }
.module-hot-topic{display:none;}


/* 平板电脑布局: 481px 至 768px。样式继承自: 移动设备布局。 */
@media only screen and (max-width:767px) {
    .xxx{ position:relative; background:#FFF; }
}

-End-